import request from "@/http/request";

export function selectAllBusinessCategory(){
    let url="/api/businessCategory/all";
    return request.get(url);
}

export function selectBusinessByPage(pageNum,pageSize){
    let url="/api/business/page";
    return request.get(url,{
        params:{
            pageNum,pageSize
        }
    })
}

export function selectBusinessIncludeGoodsById(id){
    let url = "/api/business/includeGoodsById";
    return request.get(url,{
        params:{
            id
        }
    })
}